#!/usr/bin/env python

class LogFile:
    def __init__(self,name):
        self.name = name
        self.f = open(self.name,'w')
    
    def write(self,S):
        self.f.write(S+'\n')
